package com.techwells.learningkites.model;

import java.util.List;

import com.techwells.learningkites.base.KitesViewModel;
import com.techwells.learningkites.networkservice.KitesServiceMediator;
import com.techwells.learningkites.networkservice.model.Lesson;
import com.techwells.learningkites.networkservice.model.LessonVideo;
import com.techwells.learningkites.networkservice.model.Video;
import com.techwells.taco.tasktool.TaskToken;

public class VideoListViewModel extends KitesViewModel {
	
	public List<Lesson> videoList;

	@Override
	public void paddingResult(TaskToken token) {
		// TODO Auto-generated method stub
		super.paddingResult(token);
		
		String method = token.method;
		if (method.equals(KitesServiceMediator.SERVICE_GET_LESSONS)) {
			videoList = (List<Lesson>) response.getResponse();
		}
	}
	
	
	
	

}
